<!DOCTYPE html>
<html lang="en">
<head>
  <meta charset="UTF-8">
  <title>Title</title>

  <style>
    .a {
      background: red;
      width: 350px;
      height: 200px;
      color: #ffffff;
      font-size: 13px;
      /*line-height: 80px;*/
      text-align: center
    }
  </style>
</head>
<body>

<img
  style="width: 100%;height: 100%"
  src="../doc/截图/02-七日热点舆情排行榜.jpg">


<script>
  setInterval(function () {
    var myDate = new Date();
    var x = myDate.getFullYear() + "年" + myDate.getMonth() + "月" + myDate.getDate() + "日 " +"<br>"+ myDate.getHours() + "点" + myDate.getMinutes() + "分" + myDate.getSeconds() + "秒";
    document.getElementById("x").innerHTML = x;
  }, 1000);
</script>

</body>
</html>
